<%@ include file="../common/taglibs.jsp"%>
<br/>
<table>
	<tr>
		<td colspan="2" width="400px" style="margin-left: 250px;margin-top: 10px;font-size: 14px;" align="right" >
			<c:if test="${noOfPages != 0 }">
				<c:choose>
					<c:when test="${pageNo >= noOfPages }">
				<a href="cloadUserLoginDetails?id=${id }&pageNo=${pageNo-2 }" > <c:out value="<< Prev"/> </a>
					</c:when>
					<c:otherwise>
						<c:out value="<< Prev"/>   
					</c:otherwise>
				</c:choose>
				<do:forLoop var="i" from="1" to="${noOfPages+1 }" step="1">
					<c:choose>
						<c:when test="${pageNo == i}">
							<c:out value=" ${i } "/>
						</c:when>
						<c:otherwise>
							<a href="cloadUserLoginDetails?id=${id }&pageNo=${i-1 }" > <c:out value=" ${i } "/></a>
						</c:otherwise>
					</c:choose>
				</do:forLoop>
				<c:choose>
					<c:when test="${pageNo <= noOfPages }">
						<a href="cloadUserLoginDetails?id=${id }&pageNo=${pageNo }" > <c:out value="Next >>"/> </a>
					</c:when>
					<c:otherwise>
						<c:out value="Next >>"/> 
					</c:otherwise>
				</c:choose>
			</c:if>
		</td>
	</tr>
</table>